package com.egreen.common.pojo.entity.asset;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OperatePointRecording implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 用户id
     */
    private Long id;

    /**
     * 积分账户id
     */
    private Long pointAccountId;

    /**
     * 操作
     */
    private String operate;

    /**
     * 操作产生的时间
     */
    private LocalDateTime time;

    /**
     * 积分操作金额
     */
    private Integer operatePointNum;

    /**
     * 操作后的积分余额
     */
    private Integer operatedBalance;

    /**
     * 是否被删除(0:没有被删除,1:被删除)
     */
    private Integer deleted;


}
